﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SnippetBox.Core.Common.Paging;
using SnippetBox.Core.Data.Models;

namespace SnippetBox.Web.Models {
    public class CategoryDetailsModel {
        public CategoryDetailsModel(Category category, IPagedList<Snippet> snippets) {
            Category = category;
            Snippets = snippets;
        }

        public CategoryDetailsModel() {}

        public IPagedList<Snippet> Snippets { get; set; }
        public Category Category { get; set; }
    }
}